import React from "react";
import { renderRoutes } from "react-router-config";
import routers from "./router";
import "./App.css";
import Player from "./page/Player/player.jsx";

//渲染路由
function App(props) {
  return (
    <React.Fragment>
      {renderRoutes(routers)}
      <Player />
    </React.Fragment>
  );
}

export default React.memo(App);
